<!--
 * @Author: sxb
 * @Email: sxb@mail.com
 * @Date: 2020-11-13 11:58:56
 * @Descripttion: 
-->
<template>
  <div>
    <basic-container>
      <el-form
        :model="searchForm"
        ref="searchFormRef"
        label-width="130px"
        :inline="true"
        size="small"
      >
        来自用户评价
        <el-select v-model="searchForm.e" placeholder="请选择">
          <el-option label="全部" value="全部"></el-option>
          <el-option label="有图" value="有图"></el-option>
          <el-option label="无图" value="无图"></el-option>
        </el-select>
      </el-form>

      <avue-crud
        ref="crud"
        :option="tableOption"
        :data="list"
        :page="page"
        :table-loading="listLoading"
        @on-load="getList"
        @size-change="sizeChange"
        @current-change="currentChange"
      >
        <template slot="menuLeft"></template>
      </avue-crud>
    </basic-container>
  </div>
</template>

<script>
import { tableOption } from "@/const/crud/deal/commit";
export default {
  name: "commit",
  data() {
    return {
      searchForm: {},
      tableOption: tableOption,
      page: {
        total: 1, // 总页数
        currentPage: 1, // 当前页数
        pageSize: 20, // 每页显示多少条
      },
      list: [{}],
      listLoading: false,
    };
  },
  methods: {
    getList() {},
    sizeChange(pageSize) {
      this.page.pageSize = pageSize;
    },
    currentChange(current) {
      this.page.currentPage = current;
    },
  },
};
</script>

<style lang="scss" scoped>
</style>